package com.jq.aution.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProductInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProductInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andProductIdIsNull() {
            addCriterion("product_id is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("product_id is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Integer value) {
            addCriterion("product_id =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Integer value) {
            addCriterion("product_id <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Integer value) {
            addCriterion("product_id >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_id >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Integer value) {
            addCriterion("product_id <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Integer value) {
            addCriterion("product_id <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Integer> values) {
            addCriterion("product_id in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Integer> values) {
            addCriterion("product_id not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Integer value1, Integer value2) {
            addCriterion("product_id between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Integer value1, Integer value2) {
            addCriterion("product_id not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNull() {
            addCriterion("owner_id is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIsNotNull() {
            addCriterion("owner_id is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerIdEqualTo(Integer value) {
            addCriterion("owner_id =", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotEqualTo(Integer value) {
            addCriterion("owner_id <>", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThan(Integer value) {
            addCriterion("owner_id >", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("owner_id >=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThan(Integer value) {
            addCriterion("owner_id <", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdLessThanOrEqualTo(Integer value) {
            addCriterion("owner_id <=", value, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdIn(List<Integer> values) {
            addCriterion("owner_id in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotIn(List<Integer> values) {
            addCriterion("owner_id not in", values, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdBetween(Integer value1, Integer value2) {
            addCriterion("owner_id between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andOwnerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("owner_id not between", value1, value2, "ownerId");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductDesIsNull() {
            addCriterion("product_des is null");
            return (Criteria) this;
        }

        public Criteria andProductDesIsNotNull() {
            addCriterion("product_des is not null");
            return (Criteria) this;
        }

        public Criteria andProductDesEqualTo(String value) {
            addCriterion("product_des =", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesNotEqualTo(String value) {
            addCriterion("product_des <>", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesGreaterThan(String value) {
            addCriterion("product_des >", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesGreaterThanOrEqualTo(String value) {
            addCriterion("product_des >=", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesLessThan(String value) {
            addCriterion("product_des <", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesLessThanOrEqualTo(String value) {
            addCriterion("product_des <=", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesLike(String value) {
            addCriterion("product_des like", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesNotLike(String value) {
            addCriterion("product_des not like", value, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesIn(List<String> values) {
            addCriterion("product_des in", values, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesNotIn(List<String> values) {
            addCriterion("product_des not in", values, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesBetween(String value1, String value2) {
            addCriterion("product_des between", value1, value2, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductDesNotBetween(String value1, String value2) {
            addCriterion("product_des not between", value1, value2, "productDes");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andFloorPriceIsNull() {
            addCriterion("floor_price is null");
            return (Criteria) this;
        }

        public Criteria andFloorPriceIsNotNull() {
            addCriterion("floor_price is not null");
            return (Criteria) this;
        }

        public Criteria andFloorPriceEqualTo(Float value) {
            addCriterion("floor_price =", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceNotEqualTo(Float value) {
            addCriterion("floor_price <>", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceGreaterThan(Float value) {
            addCriterion("floor_price >", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("floor_price >=", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceLessThan(Float value) {
            addCriterion("floor_price <", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceLessThanOrEqualTo(Float value) {
            addCriterion("floor_price <=", value, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceIn(List<Float> values) {
            addCriterion("floor_price in", values, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceNotIn(List<Float> values) {
            addCriterion("floor_price not in", values, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceBetween(Float value1, Float value2) {
            addCriterion("floor_price between", value1, value2, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andFloorPriceNotBetween(Float value1, Float value2) {
            addCriterion("floor_price not between", value1, value2, "floorPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceIsNull() {
            addCriterion("now_price is null");
            return (Criteria) this;
        }

        public Criteria andNowPriceIsNotNull() {
            addCriterion("now_price is not null");
            return (Criteria) this;
        }

        public Criteria andNowPriceEqualTo(Float value) {
            addCriterion("now_price =", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceNotEqualTo(Float value) {
            addCriterion("now_price <>", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceGreaterThan(Float value) {
            addCriterion("now_price >", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("now_price >=", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceLessThan(Float value) {
            addCriterion("now_price <", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceLessThanOrEqualTo(Float value) {
            addCriterion("now_price <=", value, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceIn(List<Float> values) {
            addCriterion("now_price in", values, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceNotIn(List<Float> values) {
            addCriterion("now_price not in", values, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceBetween(Float value1, Float value2) {
            addCriterion("now_price between", value1, value2, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andNowPriceNotBetween(Float value1, Float value2) {
            addCriterion("now_price not between", value1, value2, "nowPrice");
            return (Criteria) this;
        }

        public Criteria andUpRangeIsNull() {
            addCriterion("up_range is null");
            return (Criteria) this;
        }

        public Criteria andUpRangeIsNotNull() {
            addCriterion("up_range is not null");
            return (Criteria) this;
        }

        public Criteria andUpRangeEqualTo(Float value) {
            addCriterion("up_range =", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeNotEqualTo(Float value) {
            addCriterion("up_range <>", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeGreaterThan(Float value) {
            addCriterion("up_range >", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeGreaterThanOrEqualTo(Float value) {
            addCriterion("up_range >=", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeLessThan(Float value) {
            addCriterion("up_range <", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeLessThanOrEqualTo(Float value) {
            addCriterion("up_range <=", value, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeIn(List<Float> values) {
            addCriterion("up_range in", values, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeNotIn(List<Float> values) {
            addCriterion("up_range not in", values, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeBetween(Float value1, Float value2) {
            addCriterion("up_range between", value1, value2, "upRange");
            return (Criteria) this;
        }

        public Criteria andUpRangeNotBetween(Float value1, Float value2) {
            addCriterion("up_range not between", value1, value2, "upRange");
            return (Criteria) this;
        }

        public Criteria andTransPriceIsNull() {
            addCriterion("trans_price is null");
            return (Criteria) this;
        }

        public Criteria andTransPriceIsNotNull() {
            addCriterion("trans_price is not null");
            return (Criteria) this;
        }

        public Criteria andTransPriceEqualTo(Float value) {
            addCriterion("trans_price =", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceNotEqualTo(Float value) {
            addCriterion("trans_price <>", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceGreaterThan(Float value) {
            addCriterion("trans_price >", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceGreaterThanOrEqualTo(Float value) {
            addCriterion("trans_price >=", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceLessThan(Float value) {
            addCriterion("trans_price <", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceLessThanOrEqualTo(Float value) {
            addCriterion("trans_price <=", value, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceIn(List<Float> values) {
            addCriterion("trans_price in", values, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceNotIn(List<Float> values) {
            addCriterion("trans_price not in", values, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceBetween(Float value1, Float value2) {
            addCriterion("trans_price between", value1, value2, "transPrice");
            return (Criteria) this;
        }

        public Criteria andTransPriceNotBetween(Float value1, Float value2) {
            addCriterion("trans_price not between", value1, value2, "transPrice");
            return (Criteria) this;
        }

        public Criteria andIsAuditedIsNull() {
            addCriterion("is_audited is null");
            return (Criteria) this;
        }

        public Criteria andIsAuditedIsNotNull() {
            addCriterion("is_audited is not null");
            return (Criteria) this;
        }

        public Criteria andIsAuditedEqualTo(String value) {
            addCriterion("is_audited =", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedNotEqualTo(String value) {
            addCriterion("is_audited <>", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedGreaterThan(String value) {
            addCriterion("is_audited >", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedGreaterThanOrEqualTo(String value) {
            addCriterion("is_audited >=", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedLessThan(String value) {
            addCriterion("is_audited <", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedLessThanOrEqualTo(String value) {
            addCriterion("is_audited <=", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedLike(String value) {
            addCriterion("is_audited like", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedNotLike(String value) {
            addCriterion("is_audited not like", value, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedIn(List<String> values) {
            addCriterion("is_audited in", values, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedNotIn(List<String> values) {
            addCriterion("is_audited not in", values, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedBetween(String value1, String value2) {
            addCriterion("is_audited between", value1, value2, "isAudited");
            return (Criteria) this;
        }

        public Criteria andIsAuditedNotBetween(String value1, String value2) {
            addCriterion("is_audited not between", value1, value2, "isAudited");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNull() {
            addCriterion("admin_id is null");
            return (Criteria) this;
        }

        public Criteria andAdminIdIsNotNull() {
            addCriterion("admin_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdminIdEqualTo(Integer value) {
            addCriterion("admin_id =", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotEqualTo(Integer value) {
            addCriterion("admin_id <>", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThan(Integer value) {
            addCriterion("admin_id >", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("admin_id >=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThan(Integer value) {
            addCriterion("admin_id <", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdLessThanOrEqualTo(Integer value) {
            addCriterion("admin_id <=", value, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdIn(List<Integer> values) {
            addCriterion("admin_id in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotIn(List<Integer> values) {
            addCriterion("admin_id not in", values, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdBetween(Integer value1, Integer value2) {
            addCriterion("admin_id between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andAdminIdNotBetween(Integer value1, Integer value2) {
            addCriterion("admin_id not between", value1, value2, "adminId");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeIsNull() {
            addCriterion("auction_type is null");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeIsNotNull() {
            addCriterion("auction_type is not null");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeEqualTo(String value) {
            addCriterion("auction_type =", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeNotEqualTo(String value) {
            addCriterion("auction_type <>", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeGreaterThan(String value) {
            addCriterion("auction_type >", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeGreaterThanOrEqualTo(String value) {
            addCriterion("auction_type >=", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeLessThan(String value) {
            addCriterion("auction_type <", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeLessThanOrEqualTo(String value) {
            addCriterion("auction_type <=", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeLike(String value) {
            addCriterion("auction_type like", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeNotLike(String value) {
            addCriterion("auction_type not like", value, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeIn(List<String> values) {
            addCriterion("auction_type in", values, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeNotIn(List<String> values) {
            addCriterion("auction_type not in", values, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeBetween(String value1, String value2) {
            addCriterion("auction_type between", value1, value2, "auctionType");
            return (Criteria) this;
        }

        public Criteria andAuctionTypeNotBetween(String value1, String value2) {
            addCriterion("auction_type not between", value1, value2, "auctionType");
            return (Criteria) this;
        }

        public Criteria andProductPhotosIsNull() {
            addCriterion("product_photos is null");
            return (Criteria) this;
        }

        public Criteria andProductPhotosIsNotNull() {
            addCriterion("product_photos is not null");
            return (Criteria) this;
        }

        public Criteria andProductPhotosEqualTo(String value) {
            addCriterion("product_photos =", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosNotEqualTo(String value) {
            addCriterion("product_photos <>", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosGreaterThan(String value) {
            addCriterion("product_photos >", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosGreaterThanOrEqualTo(String value) {
            addCriterion("product_photos >=", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosLessThan(String value) {
            addCriterion("product_photos <", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosLessThanOrEqualTo(String value) {
            addCriterion("product_photos <=", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosLike(String value) {
            addCriterion("product_photos like", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosNotLike(String value) {
            addCriterion("product_photos not like", value, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosIn(List<String> values) {
            addCriterion("product_photos in", values, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosNotIn(List<String> values) {
            addCriterion("product_photos not in", values, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosBetween(String value1, String value2) {
            addCriterion("product_photos between", value1, value2, "productPhotos");
            return (Criteria) this;
        }

        public Criteria andProductPhotosNotBetween(String value1, String value2) {
            addCriterion("product_photos not between", value1, value2, "productPhotos");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}